﻿#region
/*******************************************************************************
** File Name:		    IAdminGroupRight.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Data;
using System.Collections.Generic;
using Phoenix.Entity;
namespace Phoenix.Respository
{
    public interface IAdminGroupRight 
    {
    #region  Auto Generation
    
        void AddAdminGroupRight(EAdminGroupRight adminGroupRight);

        void UpdateByAdminGroupRightID(EAdminGroupRight adminGroupRight);

		void DeleteByAdminGroupRightID(System.Int32 adminGroupRightID);
		 
        EAdminGroupRight GetByAdminGroupRightID(System.Int32  adminGroupRightID);

	#endregion

        EAdminGroupRight GetByGroupIDAndRightID(int groupID, int rightID);

        IList<EAdminGroupRight> GetByGroupID(int groupID);

    }
}